package org.example.mytest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import org.example.mytest.entity.Score;

import java.util.List;

public interface ScoreMapper extends BaseMapper<Score> {
    @Select("select * from tb_score where ScoreID=#{scoreid}")
    Score findbyidscore(int id);
    @Select("select * from tb_score where StudentID=#{studentid}")
    List<Score> findscoreby(int id);
}
